﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011FF RID: 4607
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartAlleyEventCsReq : IMessage<StartAlleyEventCsReq>, IMessage, IEquatable<StartAlleyEventCsReq>, IDeepCloneable<StartAlleyEventCsReq>, IBufferMessage
	{
		// Token: 0x17003A5B RID: 14939
		// (get) Token: 0x0600CE6E RID: 52846 RVA: 0x0022C0C0 File Offset: 0x0022A2C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartAlleyEventCsReq> Parser
		{
			get
			{
				return StartAlleyEventCsReq._parser;
			}
		}

		// Token: 0x17003A5C RID: 14940
		// (get) Token: 0x0600CE6F RID: 52847 RVA: 0x0022C0C7 File Offset: 0x0022A2C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartAlleyEventCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A5D RID: 14941
		// (get) Token: 0x0600CE70 RID: 52848 RVA: 0x0022C0D9 File Offset: 0x0022A2D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartAlleyEventCsReq.Descriptor;
			}
		}

		// Token: 0x0600CE71 RID: 52849 RVA: 0x0022C0E0 File Offset: 0x0022A2E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAlleyEventCsReq()
		{
		}

		// Token: 0x0600CE72 RID: 52850 RVA: 0x0022C0E8 File Offset: 0x0022A2E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAlleyEventCsReq(StartAlleyEventCsReq other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CE73 RID: 52851 RVA: 0x0022C10D File Offset: 0x0022A30D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAlleyEventCsReq Clone()
		{
			return new StartAlleyEventCsReq(this);
		}

		// Token: 0x17003A5E RID: 14942
		// (get) Token: 0x0600CE74 RID: 52852 RVA: 0x0022C115 File Offset: 0x0022A315
		// (set) Token: 0x0600CE75 RID: 52853 RVA: 0x0022C11D File Offset: 0x0022A31D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x0600CE76 RID: 52854 RVA: 0x0022C126 File Offset: 0x0022A326
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartAlleyEventCsReq);
		}

		// Token: 0x0600CE77 RID: 52855 RVA: 0x0022C134 File Offset: 0x0022A334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartAlleyEventCsReq other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CE78 RID: 52856 RVA: 0x0022C164 File Offset: 0x0022A364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CE79 RID: 52857 RVA: 0x0022C1A3 File Offset: 0x0022A3A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CE7A RID: 52858 RVA: 0x0022C1AB File Offset: 0x0022A3AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CE7B RID: 52859 RVA: 0x0022C1B4 File Offset: 0x0022A3B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CE7C RID: 52860 RVA: 0x0022C1E8 File Offset: 0x0022A3E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CE7D RID: 52861 RVA: 0x0022C226 File Offset: 0x0022A426
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartAlleyEventCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CE7E RID: 52862 RVA: 0x0022C257 File Offset: 0x0022A457
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CE7F RID: 52863 RVA: 0x0022C260 File Offset: 0x0022A460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040052CA RID: 21194
		private static readonly MessageParser<StartAlleyEventCsReq> _parser = new MessageParser<StartAlleyEventCsReq>(() => new StartAlleyEventCsReq());

		// Token: 0x040052CB RID: 21195
		private UnknownFieldSet _unknownFields;

		// Token: 0x040052CC RID: 21196
		public const int EventIdFieldNumber = 8;

		// Token: 0x040052CD RID: 21197
		private uint eventId_;
	}
}
